package com.kyyc.luff.testb.fegin;

import com.kyyc.luff.core.result.ResultView;
import com.kyyc.luff.testb.fegin.factory.RemoteTestaServiceFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestHeader;
import sun.security.util.SecurityConstants;

@FeignClient(contextId = "remoteTestaService", value = "luff-gateway", fallbackFactory = RemoteTestaServiceFallbackFactory.class)
public interface RemoteTestaService {


    @GetMapping("/testa/testa/a")
    ResultView a();

}
